#!/usr/bin/python
# -*- coding: utf-8 -*-

import ConfigParser

#获取config配置文件
def get_config(path,section, key):
    '''
    :param section:
    :param key:
    :return:
    '''
    config = ConfigParser.ConfigParser()
    config.read(path)
    return config.get(section, key)

